package enumandlambda;

/**
 * @author shkstart
 * 使用线程实现电影旁白的打印
 * @create 2022-11-28-11:35
 */
public class ThreadDemo1 {
    public static void main(String[] args) throws InterruptedException {
        String content = "sljflsflsdjflksdjflsdjflksdjflkj";
        for(char item : content.toCharArray()){
            System.out.print(item);
            Thread.sleep(200);
        }
    }
}
